package com.its.search.feign;


import com.its.goods.pojo.Goods;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.List;

@FeignClient("gym-backend-goods")
public interface GoodsFeign {
    //查询所有的商品及其详情信息
    @GetMapping("/goods/findAll")
    public List<Goods> findAll();
}
